<script setup lang="ts">
import SvgIcon from "../utils/SvgIcon.vue";

defineProps(['show'])
</script>

<template>
<div class="line-record">
    <el-avatar :size="50">
        <svg-icon name="vue" width="35px" height="35px"></svg-icon>
    </el-avatar>
    <el-space direction="vertical" style="margin-left: 8px; align-items: start">
        <b>今天又是元气满满的一天!</b>
        <el-text tag="p" size="default">今天天气晴，22~30</el-text>
    </el-space>
    <el-divider v-if="show"></el-divider>
</div>
</template>

<style scoped>
.el-divider {
    padding: 3px;
    margin: 10px 0;
}
</style>